$font-color: #314159; //字体颜色
$navigation-checked: #2691B1; //导航选中
$border-color: #E6E6E6; //边框颜色
$background-color: #F2F2F2; //背景色
$font-color-hover: #0099CC; //鼠标悬浮字体颜色
$left-navigation-width: 240px; //左侧导航宽度

.main-container {
  height: calc(100% - 42px);
  button.btn-default {
    outline: none;
    &:focus {
      background: white;
    }
    &:hover {
      background: white;
    }
  }
}

.server-param-pane {
  height: 100%;
  .tab-navigation {
    width: $left-navigation-width;
    height: 100%;
    float: left;
    margin-right: -$left-navigation-width;
    border-right: 1px solid $border-color;
    .navigation-title {
      height: 42px;
      font-weight: bold;
      font-size: 16px;
      padding-left: 15px;
      display: flex;
      align-items: flex-end;
      border-bottom: 1px solid $border-color;
    }
    .nav-stacked > li + li {
      margin-top: 0;
    }
    .nav-pills > li {
      & > a {
        border-radius: 0;
        border-bottom: 1px solid $border-color;
        color: $font-color;
        background-color: white;
        padding: 7px 15px 7px 30px;
        border-left: 5px solid white;
        &:hover {
          background-color: white;
          color: $font-color-hover;
        }
        > .modify-item {
          color: white;
          background-color: #F60;
        }
      }
      &.active > a {
        background-color: white;
        border-left-color: $navigation-checked;
        & > .modify-item {
          color: white;
          background-color: #F60;
        }
      }
    }
  }
  .tab-content {
    float: right;
    width: calc(100% - #{$left-navigation-width});
    height: 100%;
    background: $background-color;
    .config-operation {
      height: 42px;
      border-bottom: 1px solid $border-color;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      .btn-operation {
        position: relative;
        padding-left: 25px;
        margin-right: 10px;
        outline: none;
        .icon {
          position: absolute;
          left: 8px;
          i {
            color: $navigation-checked;
          }
          img {
            width: 15px;
          }
          &.icon-lg {
            position: absolute;
            left: 6px;
            top: 3px;
            i {
              font-size: 19px;
            }
          }
        }
        &.btn-batch-release {
          background-color: #1e824c;
          color: white;
          i {
            color: white;
            font-size: 10px;
            margin-right: 5px;
          }
          &:hover {
            background: #034824;
          }
        }
      }
    }
    .tab-pane {
      height: calc(100% - 42px);
      padding: 10px 10px 20px;
      overflow-y: auto;
      .param-block {
        border: 1px solid $border-color;
        background: white;
        margin-bottom: 20px;
        .block-operation {
          padding: 8px 10px 12px;
          .block-title {
            font-size: 14px;
          }
          button {
            float: right;
            height: 25px;
            font-size: 13px;
            padding: 0 22px;
            margin-left: 10px;
            outline: none;
            &.btn-add-ems {
              background-color: $font-color-hover;
              border-color: $font-color-hover;
            }
            &.btn-release {
              padding: 0 13px;
              background: #1e824c;
              i {
                font-size: 10px;
                margin-right: 5px;
              }
              &:hover {
                background: #034824;
              }
            }
            &.btn-filter {
              padding: 0 13px;
              i {
                color: $navigation-checked;
                margin-right: 5px;
              }
              //&:hover{
              //  color: $navigation-checked;
              //}
            }
          }
        }
      }
    }
  }
}

.server-status-pane {
  height: 100%;
  span.server-stop {
    color: #FF3300;
    font-weight: bold;
  }
}

//EMS代理设置表格样式
.ems-proxy-grid {
  overflow-x: visible;
  table {
    //防止过滤后cell宽度修改造成的闪
    table-layout: auto;
  }
  .k-header.k-grid-toolbar {
    border: none;
    background: none;
    position: absolute;
    right: 82px;
    top: -39px;
    .k-grid-add {
      background-color: $font-color-hover;
      border-color: $font-color-hover;
      height: 25px;
      line-height: 25px;
      padding: 0 10px;
      border-radius: 4px;
    }
  }

}

//导入配置文件窗口样式
div.import-config-win {
  padding: 20px 60px;
  .import-block {
    display: flex;
    align-items: center;
    .import-block-title {
      margin-right: 20px;
    }
    .import-file-url {
      width: 500px;
      display: inline-block;
      border: 1px solid #e6e6e6;
      height: 25px;
      line-height: 25px;
      padding-left: 10px;
    }
    .import-block-btn {
      position: relative;
      height: 25px;
      font-size: 13px;
      padding: 0 22px;
      margin: 0 10px;
      outline: none;
      line-height: 25px;
      .btn-scan {
        position: absolute;
        overflow: hidden;
        right: 0;
        top: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
      }
    }
    .import-err {
      position: absolute;
      top: 13px;
      left: 785px;
    }
  }
  .file-info {
    height: calc(100% - 110px);
    padding-top: 20px;
  }
  .operation-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    margin-top: 20px;
    .btn {
      width: 185px;
      border-radius: 2px;
    }

    .btn-info {
      background-color: #00AAE8;
      color: #fff;
      margin-right: 50px;
    }

    .btn-default {
      background-color: #ACACAC;
      color: #333;
    }

  }
}

.k-window-title {
  color: $font-color;
}

.k-window-titlebar.k-header {
  border-color: #e6e6e6;
}
